package com.rfsp.mcp.feign;

import com.rfsp.mcp.pojo.vo.McpInterfaceResultVO;
import com.rfsp.mcp.pojo.vo.NhcJssqResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

import java.net.URI;
@FeignClient(name = "McpForwardWs", url = "/")
//@FeignClient("task-service")
public interface McpRelayFeign {
    /** 查询医保定点机构名录信息*/
    @PostMapping("/")
    public McpInterfaceResultVO queryOrgDirectory(URI baseUri, @RequestParam(name="pfmUrl") String pfmUrl,@RequestParam(name="jsonString")String jsonString,@RequestParam(name="edType")String edType,@RequestParam(name="orgpub")String orgpub,@RequestParam(name="plfpri")String plfpri) ;

    /** 查询医保定点机构主体信息*/
    @PostMapping("/")
    public McpInterfaceResultVO queryOrgSubjectInfo(URI baseUri, @RequestParam(name="pfmUrl") String pfmUrl,@RequestParam(name="jsonString")String jsonString,@RequestParam(name="edType")String edType,@RequestParam(name="orgpub")String orgpub,@RequestParam(name="plfpri")String plfpri) ;

    /** 查询医保资金月度结算信息*/
    @PostMapping("/")
    public McpInterfaceResultVO queryMiPayInfo(URI baseUri, @RequestParam(name="pfmUrl") String pfmUrl,@RequestParam(name="jsonString")String jsonString,@RequestParam(name="edType")String edType,@RequestParam(name="orgpub")String orgpub,@RequestParam(name="plfpri")String plfpri) ;

    /** 查询医保账户信息*/
    @PostMapping("/")
    public McpInterfaceResultVO queryMiAccountInfo(URI baseUri, @RequestParam(name="pfmUrl") String pfmUrl,@RequestParam(name="jsonString")String jsonString,@RequestParam(name="edType")String edType,@RequestParam(name="orgpub")String orgpub,@RequestParam(name="plfpri")String plfpri) ;

}
